<template>
<p>{{textContent}}</p>
<p>{{textContents()}}</p>
</template>

<script>
export default {
	data() {
		return {
			text: {
				name: "text",
				content:["1","2","3"]
			}
		}
	},
	computed: {
		textContent() {
			return this.text.content.length > 0 ? 'Yes' : "No"
		}
	},
	methods: {
		textContents() {
			return this.text.content.length > 0 ? 'Yes' : "No"
		}
	}
}
</script>